package com.qiyeji.real_estate.mapper;

import com.qiyeji.real_estate.entity.department;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface departmentMapper {
    int deleteByPrimaryKey(String dcode);

    int insert(department record);

    int insertSelective(department record);

    department selectByPrimaryKey(String dcode);

    int updateByPrimaryKeySelective(department record);

    int updateByPrimaryKey(department record);

    List<department> getAllDepartment();
}